/**
 * Created by mapbar_front on 2019/8/3.
 */
import React,{Component} from 'react';
import Hoc4 from './../Hoc4';

class Hoc6 extends Component{
    componentWillMount(){
        //alert('我是原始生命周期');
    }
    render(){
        //console.log('this.props',{...this.props});
        const element1 = React.createElement(
            'div',
            {id:'element1'},
            'Hello,World!',
        );
        const element2 = React.createElement(
            'div',
            {id:'element2'},
            'Hello,World1!'
        )
        const element3 = React.createElement(
            'div',
            {id:'element3'},
            //[element1,element2],

        )
        return(
            <div>
                我是p
                {
                    element3
                }
            </div>
        )
    }
}
export default Hoc4(Hoc6);
